void solve()
{
	int n, m;
	cin >> n >> m;

	ll x = 1ll * n * (n + 1) % m;
	if (x >= 1 && x <= n) {
		cout << "Bob" << '\n';
	} else {
		cout << "Alice" << '\n';
	}
}